asJwtVerifier

fun JWSVerifier.asJwtVerifier(): JwtSignatureVerifier<SignedJWT>(source)

An adapter that converts a NimbusJWSVerifier into a JwtSignatureVerifier

Return

a JwtSignatureVerifierusing the validation logic provided by NimbusJWSVerifier

Receiver

the NimbusJWSVerifier to convert into a JwtSignatureVerifier


fun JWTProcessor<*>.asJwtVerifier(): JwtSignatureVerifier<SignedJWT>(source)

An adapter that converts a NimbusJWTProcessor into a JwtSignatureVerifier

Return

a JwtSignatureVerifier using the validation logic provided by NimbusJWTProcessor

Receiver

the Nimbus processor to convert into JwtSignatureVerifier